//Page Object
import route from '../../utils/route'

Page({
    data: {

    },
    //options(Object)
    onLoad: function (options) {
        var curPages = getCurrentPages();
        console.log("当前页面wallet_detail_1=>路由栈:");
        console.log(curPages);
    },
    onReady: function () {

    },
    onShow: function () {

    },
    onHide: function () {

    },
    onUnload: function () {

    },
    onPullDownRefresh: function () {

    },
    onReachBottom: function () {

    },
    onShareAppMessage: function () {

    },
    onPageScroll: function () {

    },
    //item(index,pagePath,text)
    onTabItemTap: function (item) {

    },
    //****************************************************** description ******************************************************//

    _navAction: function (data) {
        route.pop();
    },

    _click: function () {
        route.push("../../pages/wallet_detail_2/wallet_detail_2", {fromPush:'我从上个页面push而来'}, "", "", "");
    },

    _clic2: function () {
        route.redirect("../../pages/wallet_detail_2/wallet_detail_2", { fromRedirect: '我从上个页面重定向而来' }, null, null, null);
    }



});